# $Id: PKGBUILD 67140 2012-03-04 23:54:53Z pschmitz $
# Maintainer: damir <damir@archlinux.org>
# Contributor : Tobias Powalowski <t.powa@gmx.de>

pkgname=pwgen
pkgver=2.06
pkgrel=3
pkgdesc="Pwgen is a small password generator which creates passwords which can be easily memorized by a human"
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/pwgen/"
license=('GPL')
depends=('glibc')
source=("http://downloads.sourceforge.net/sourceforge/pwgen/${pkgname}-${pkgver}.tar.gz")
md5sums=('935aebcbe610fbc9de8125e7b7d71297')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
